<?php
//异步命令行处理配置
$config['php_shell_path']='/usr/local/php';
$config['root'] 		 =str_replace("api/application/config","",dirname(__FILE__));
$config['application_root_path']=$config['root'].'api/index.php';


$config['autofollow_someone']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous autofollow_someone ';//结构是 php ci 控制器名 方法名，还要自己拼上参数和 > /dev/null &
$config['download_image_as_big_face']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous download_image_as_big_face ';//下载第三方的图片当头像
$config['write_notify_fristreg']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous write_notify_fristreg ';//第一次注册的时候写一个通知
$config['write_fake_follow']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous write_fake_follow ';//作假下发关注通知
$config['reg_user_tables']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous reg_user_tables ';//用户在注册的时候，补全那些非常用的表信息
$config['autojoin_discuz']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous autojoin_discuz ';//用户在注册的时候，
$config['jpush_notify_by_tag']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous jpush_notify_by_tag ';//jpush消息
$config['add_trace']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous add_trace ';//记录用户的足迹
$config['cancelfollow']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous cancelfollow ';//取消对某人/某些人的关注
$config['cancelfans']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous cancelfans ';//取消某人/某些人粉丝
$config['add_geohash']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous add_geohash ';//添加经纬度
$config['delete_geohash']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous delete_geohash ';//删除经纬度
$config['delete_topic']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous delete_topic ';//删除自己的发帖和回帖
$config['write_file']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous write_viewlog ';//写文件
$config['sendmail_forgotpass']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous forgotpass ';//取回密码时的发送邮件
$config['anonymous2regautojoin']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous anonymous2regautojoin ';//匿名转注册、匿名转第三方后加入游戏圈
$config['send_system_notify']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous send_system_notify ';//发送系统通知
$config['create_new_room']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous create_new_room ';//动态创建比赛的房间
$config['send_notify']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous send_notify ';//发送通知
$config['auto_add_scores']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous auto_add_scores ';//低游乐币关怀
$config['regawords']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous regawords ';//首次注册(有头像和昵称)的奖励
$config['topicReplySendMsg']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous topicReplySendMsg ';

//新用户注册(匿名和第三方)
$config['writeNewRegLog']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous writeNewRegLog ';
$config['writeAppActivateReport']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous writeAppActivateReport ';

//游戏/比赛相关的
$config['send_rank_change_nofity']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous send_rank_change_nofity ';//更新坛子比赛参与者的状态
$config['update_discuz_match_status']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous update_discuz_match_status ';//更新坛子比赛参与者的状态

$config['add_scorepk_trace']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous add_scorepk_trace ';//(游戏方)记录比赛的最高分
$config['add_user_scorepk_trace']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous add_user_scorepk_trace ';//(用户方)比赛的最高分足迹
$config['updateLevelTopN']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous updateLevelTopN ';//更新等级排行榜
$config['forceSendChatroomMsg']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous forceSendChatroomMsg ';//以小优的身份发送聊天室信息
$config['update_scoretop']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous update_scoretop ';//更新比分排行等数据
$config['jpush_chatroom_android']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous jpush_chatroom_android ';//聊天室群发
$config['jpush_chatroom_ios']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous jpush_chatroom_ios ';//聊天室群发


//管理后台同步帖子用
$config['sync_publish_add_trace']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous syncpublish_addtrace ';//记录用户的足迹
$config['scpfile']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous uploadfile ';//记录用户的足迹

//用于记录用户注册、匿名注册、第三方登录、登录的数据
//用于统计发帖、回帖等信息

//用于记录异步记录用户的经验流水
$config['addExpLog']=$config['php_shell_path'].' '.$config['application_root_path'].' exp addExpLog ';//记录经验流水
$config['updateWeeklyExp']=$config['php_shell_path'].' '.$config['application_root_path'].' exp updateWeeklyExp ';//更新每周新增经验
$config['checkLevelUP']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous checkLevelUP ';//更新每周新增经验

$config['user_zan']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous user_zan ';//更新用户的赞
$config['user_jubao']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous user_jubao ';//更新用户的举报
$config['user_shoucang']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous user_shoucang ';//更新用户的收藏
$config['user_addfollow']=$config['php_shell_path'].' '.$config['application_root_path'].' asynchronous user_addfollow ';//更新用户关注某人
$config['user_updatadetail_v2']=$config['php_shell_path'].' '.$config['application_root_path'].' /user/profile detail_v2 ';//更新个人主页
?>